package Other;


import Database.Database;
import Database.MyFireplace;
import GUI.FireplaceUpdate;
import GUI.LoginScreen;
import GUI.MainScreen;
import GUI.NewItemScreen;
import GUI.NewSupplierScreen;
import GUI.ReportSelection;
import GUI.TutorialScreen;




import Database.Database;
import GUI.NewItemScreen;
import GUI.NewSupplierScreen;
import GUI.Report;


public class Main {

	public static void main(String args[]) {


		
		//String query = "Select Fireplace_ID, Fireplace_Name, Description, Finish, Style, Item_price, Stock_quantity, Supplier_name from fireplace, supplier where fireplace.supplier_id = supplier.supplier_id";
		//String title = "Fireplace Report";
		//new ReportSupplier();
		
		Database.initialise("root", "", "localhost/programming2");
		Database.connect();
		
		
		//new NewItemScreen();s
		//new NewSupplierScreen();
		//new SelectReport();
		//new Report(query,title);
	
		//new ReportSelection().setVisible(true);
		//MyItem cus[] = DatabaseExtension.getItems();
		
		//new CreateItemScreen(cus[0]).setVisible(true);
		
		//MyFireplace fire[] = DatabaseFireplace.getFireplaces();
		
		//new FireplaceUpdate().setVisible(true);
		
		//new FireplaceUpdate().setVisible(true);
		

		//new NewItemScreen();
		// new TutorialScreen().setVisible(true);
		
		new MainScreen();
		
		//new NewSupplierScreen();
		
		//new LoginScreen();
	} 

	
}
